package com.java2207.group1.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author HuiCL
 * @version 1.0
 * @date 2022/7/25 17:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Income {
    // 编号
    private Integer id;
    // 付款的客户
    private String payingClients;
    // 客户联系方式
    private String contactClients;
    // 营业收入
    private Integer amountOfIncome;
    // 资金收入的日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date incomeDate;

}
